evaluating an expression with two variables ex 2